#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <BangoAgent.h>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    enum ScreenOrientation {
        ScreenOrientationLockPortrait,
        ScreenOrientationLockLandscape,
        ScreenOrientationAuto
    };

    explicit MainWindow(QWidget *parent = 0);
    virtual ~MainWindow();

    // Note that this will only have an effect on Symbian and Fremantle.
    void setOrientation(ScreenOrientation orientation);

    void showExpanded();

private:
    Ui::MainWindow *ui;
    void reset();
    void clear();
    QString getEventName();
    QString getEventValue();
    QString getEventDetails();
    QMap<QString,QString> getEventParameters();    
    int getOverload();

private slots:
    void on_btnLiveVideoStart_clicked();
    void on_btnLiveVideoStop_clicked();
    void on_btnSearch_clicked();

    void on_btnOnDemandVideoStart_clicked();
    void on_btnOnDemandVideoStop_clicked();
    void on_btnPageView_clicked();

    void on_btnIdle_clicked();
    void on_btnResume_clicked();
    void on_btnLog_clicked();

    void on_btnReset_clicked();
    void on_btnClear_clicked();
    void on_btnError_clicked();

    void on_btnPostNow_clicked();
    void on_btnViewBatch_clicked();
};

#endif // MAINWINDOW_H
